
#-------------------------------------------------
#
# Project created by QtCreator 2016-11-05T15:44:56
#
#-------------------------------------------------

greaterThan(QT_MAJOR_VERSION, 4): QT +=  core network

#DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS

TRANSLATIONS += bottomViewEnglishLan.ts

TARGET = QtFtp
TEMPLATE = lib
#CONFIG += static
#CONFIG -= shared

DEFINES += QFTP_LIBRARY

HEADERS += qftp.h qurlinfo.h
SOURCES += qftp.cpp qurlinfo.cpp

unix {
    target.path = /usr/lib
    INSTALLS += target
}


contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR = ../../lib/x86_WINDOWS



#编译目录
UI_DIR += ../../build/tmphmi/x86_windows
MOC_DIR += ../../build/tmphmi/x86_windows
OBJECTS_DIR += ../../build/tmphmi/x86_windows
RCC_DIR  += ../../build/tmphmi/x86_windows
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR = ../../lib/x86


#编译目录
UI_DIR += ../../build/tmphmi/x86_linux
MOC_DIR += ../../build/tmphmi/x86_linux
OBJECTS_DIR += ../../build/tmphmi/x86_linux
RCC_DIR  += ../../build/tmphmi/x86_linux
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR = ../../lib/arm

#编译目录
UI_DIR += ../../build/tmphmi_arm
MOC_DIR += ../../build/tmphmi_arm
OBJECTS_DIR += ../../build/tmphmi_arm
RCC_DIR  += ../../build/tmphmi_arm
}

